home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'A shiny metal sphere with applied gold tracery',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 100,
- 'MinAmbience': 0,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (113,179,175),
- 'Direction': (0.57735,0.73735,-0.350687),
- 'HighlightSize': 33
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (182,181,64),
- 'Direction': (-0.772228,-0.635346,0),
- 'HighlightSize': 33
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (98,82,97),
- 'Direction': (0.13735,0.0573503,-0.988861),
- 'HighlightSize': 33
- }]
- },
- 'Mode': App.Constants.CountType.Single,
- 'Multiple': {
-
- },
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.true
- },
- 'Surface': {
- 'Material': {
- 'Color': (104,94,102),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.true,
- 'Depth': 50,
- 'FileName': 'Tracery',
- 'Fit': App.Constants.Boolean.true,
- 'Size': 25,
- 'Smoothness': 0
- },
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.true,
- 'FileName': 'Tracery',
- 'PatternOpacity': 100,
- 'EnvironmentType': App.Constants.BubbleMapType.Environment
- },
- 'Gloss': 61,
- 'Opacity': 100,
- 'Shininess': 75
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-